﻿///////////////////////////////////////////////////////////////
//                                                           //
// Code from Arcanea Project.                                //
//                                                           //
// Please include this license part to every reproduction    //
//   of code.                                                //
//                                                           //
// This code is under Ms-RL license                          //
//                                                           //
// Please read futher information about the license,         //
//   the project (news and updates) and the                  //
//   contributors on the address :                           //
//     http://www.codeplex.com/Arcanea/                      //
//                                                           //
///////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using Arcanea.MapGenerator.Bulding.Interface;

namespace Arcanea.MapGenerator.Bulding.Base
{
    class Triangle : IObject
    {
        public Triangle(float X1, float Y1, float Z1, float X2, float Y2, float Z2, float X3, float Y3, float Z3)
        {
            allPoint = new Point[3];
            allPoint[0].X = X1;
            allPoint[1].X = X2;
            allPoint[2].X = X3;
            allPoint[0].Y = Y1;
            allPoint[1].Y = Y2;
            allPoint[2].Y = Y3;
            allPoint[0].Z = Z1;
            allPoint[1].Z = Z2;
            allPoint[2].Z = Z3;
        }

    }
}
